/*
 * University Of Washington - Tacoma
 * TCSS-422, Operating Systems
 * Assignment 1 - Web Crawler
 * April 26, 2011
 * 
 * Team: Kernel Monkeys
 * Andrew Boguk
 * Sergiy Kulyk
 * Nicholas Swartzendruber
 */

package crawler.main;

import crawler.engine.Reporter;

/**
 * The UI interface is needed so that the engine
 * can report back to the UI after it has new findings.
 * These findings are passed to the reporterTriggered()
 * method inside of the UI.
 * 
 * @author Nicholas Swartzendruber
 * @version 1.0
 *
 */
public interface UI {
	
	/**
	 * When the engine finishes parsing a page, a
	 * new reporter object is passed back to the UI.
	 * This reporter object contains all the information
	 * about the pages that have been parsed up to
	 * a certain point. 
	 * 
	 * @param reporter The reporter object for all the
	 * 					information about parsed pages
	 * 					up to a certain point.
	 */
	void reporterTriggered(Reporter reporter);
}
